using System;
using UnityEngine;

public class AutoTrade:MonoBehaviour
{
    public static StockManager stockManager;
    public static SqlAccess sqlAccess;
    
    // Start is called before the first frame update
    void Awake()
    {
        stockManager = this.gameObject.GetComponent<StockManager>();
        sqlAccess = this.gameObject.GetComponent<SqlAccess>();
    }

    public void Start()
    {
        //链接数据库
        sqlAccess.Connect();
    }

    // Update is called once per frame
    void Update()
    {
        
    }
    
        
}